package com.danciyixue.boot.dcyx.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.*;

/**
 * 用户扩展配置信息表单对象
 *
 * @author youlaitech
 * @since 2025-06-15 16:36
 */
@Getter
@Setter
@Schema(description = "用户扩展配置信息表单对象")
public class UserExtensionsForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "扩展配置ID")
    private Long id;

    @Schema(description = "用户ID")
//    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "智能记忆测试配置（毫秒）")
    @NotNull(message = "智能记忆测试配置（毫秒）不能为空")
    private Integer znjyTestingConfig;

    @Schema(description = "记忆单词测试配置（毫秒）")
    @NotNull(message = "记忆单词测试配置（毫秒）不能为空")
    private Integer jydycgTestingConfig;

    @Schema(description = "默写单词测试配置（毫秒）")
    @NotNull(message = "默写单词测试配置（毫秒）不能为空")
    private Integer mxdycgTestingConfig;

    @Schema(description = "听写单词测试配置（毫秒）")
    @NotNull(message = "听写单词测试配置（毫秒）不能为空")
    private Integer txdycgTestingConfig;

    @Schema(description = "拼写类型")
    @NotNull(message = "拼写类型不能为空")
    private Integer spellType;


}
